#ifndef _APP_PROCOTOL_HH
#define _APP_PROCOTOL_HH

#define CMD_IAPUPDATE   0xB0
#define CMD_READVERSION 0xB2
#define CMD_IN_IAPMODE    0xB4
#define CMD_IN_IAPTEST     0xB6

void iap_proctolparse(unsigned char *pBuf,unsigned int rcvLen);
void procotol_txpacket(unsigned char cmd,unsigned char *pdata,unsigned int len);

#endif
